package com.fenghao.subject.application.convert;

import com.fenghao.subject.application.dto.SubjectAnswerDTO;
import com.fenghao.subject.domain.entity.SubjectAnswerBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDtoConvert {
    SubjectAnswerDtoConvert INSTANCE = Mappers.getMapper(SubjectAnswerDtoConvert.class);

    List<SubjectAnswerBO> convertDtoListToBoList(List<SubjectAnswerDTO> subjectAnswerDTOList);
}
